﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 9/2/2009
 * Time: 1:23 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace Buaya.Model
{
	/// <summary>
	/// Description of PayrollCode.
	/// </summary>
	public class PayrollCode
	{
		int id;
		DateTime startDate = DateTime.Now;
		double daysConsume;
		bool deductSSPremium;
		double oTSundayRate;
		
		public virtual double OTSundayRate {
			get { return oTSundayRate; }
			set { oTSundayRate = value; }
		}
		
		public virtual bool DeductSSPremium {
			get { return deductSSPremium; }
			set { deductSSPremium = value; }
		}
		bool deductPagIBIGPremium;
		
		public virtual bool DeductPagIBIGPremium {
			get { return deductPagIBIGPremium; }
			set { deductPagIBIGPremium = value; }
		}
		bool deductPhilhealthPremium;
		
		public virtual bool DeductPhilhealthPremium {
			get { return deductPhilhealthPremium; }
			set { deductPhilhealthPremium = value; }
		}
		bool deductWithholdingTax;
		
		public virtual bool DeductWithholdingTax {
			get { return deductWithholdingTax; }
			set { deductWithholdingTax = value; }
		}
		double oTRegularRate;
		
		public virtual double OTRegularRate {
			get { return oTRegularRate; }
			set { oTRegularRate = value; }
		}
		double oTLegalRate;
		
		public virtual double OTLegalRate {
			get { return oTLegalRate; }
			set { oTLegalRate = value; }
		}
		double oTSpecialRate;
		
		public virtual double OTSpecialRate {
			get { return oTSpecialRate; }
			set { oTSpecialRate = value; }
		}
		double oTLegalSundayRate;
		
		public virtual double OTLegalSundayRate {
			get { return oTLegalSundayRate; }
			set { oTLegalSundayRate = value; }
		}
		
		[Obsolete()]
		public virtual double DaysConsume {
			get { return daysConsume; }
			set { daysConsume = value; }
		}
		
		public virtual DateTime StartDate {
			get { return startDate; }
			set { startDate = value; }
		}
		DateTime endDate = DateTime.Now.AddDays(15);
		
		public virtual DateTime EndDate {
			get { return endDate; }
			set { endDate = value; }
		}
		bool inactive;
		
		public virtual bool Inactive {
			get { return inactive; }
			set { inactive = value; }
		}
		
		public virtual int Id {
			get { return id; }
			set { id = value; }
		}
		string code;
		
		public virtual string Code {
			get { return code; }
			set { code = value; }
		}
		
		public PayrollCode()
		{
		}
	}
}
